#pragma once

#include "json/json.h"

class ConsumerLoanModel
{
public:
	ConsumerLoanModel(void);
	~ConsumerLoanModel(void);

	int m_id;
	int m_consumerID;
	int m_loanType;
	CString m_loanBank;
	CString m_loanSum; 
	int m_loanTime;
	CString m_montyPay;
	CString m_dueSum;

	void parseFromJson(Json::Value& jsonData);
	void toJson(Json::Value& jsonData);

};

